package com.kexuexiong.demo.bearBaseService.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BaseEntity {

    /**
     * 创建时间
     */
    @ApiModelProperty("createTime")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 是否删除
     */
    @ApiModelProperty("deleted")
    private Boolean deleted;

}
